package com.mmd.admin.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 服务商身份
 * </p>
 *
 * @author ${author}
 * @since 2023-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("life_serve_agency_identity")
@ApiModel(value="AgencyIdentity对象", description="服务商身份")
public class AgencyIdentity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "身份id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "0旧身份1新身份")
    private Integer type;

    @ApiModelProperty("限制服务商总人数")
    private Integer facilitatorNumber;
}
